package UIUtils.Exif
{
	public class Tags {
		public static const SOI_MAKER:Array = [0xff, 0xd8];
		public static const APP1_MAKER:Array = [0xff, 0xe1];
		public static const EXIF_HEADER:Array = [0x45, 0x78, 0x69, 0x66, 0x00, 0x00];
		
		public static const SOFTWARE: uint 			= 0x0131;
		public static const MODIFYDATE: uint 		= 0x0132;
		public static const TITLE: uint 			= 0x9c9b;
		public static const COMMENT: uint 			= 0x9c9c;
		public static const AUTOR: uint 			= 0x9c9d;
		public static const SUBJECT: uint 			= 0x9c9f;
		public static const ORIENTATION: uint 		= 0x0112;
		public static const XRESOLUTION: uint		= 0x011a;
		public static const YRESOLUTION: uint		= 0x011b;
		public static const RESOLUTIONUNIT: uint 	= 0x0128;
		
		public static const INT8UTYPE	: int = 1;
		public static const STRINGTYPE	: int = 2;
		
		public static const TYPES: Object = {
			SOFTWARE	: STRINGTYPE,
			MODIFYDATE	: STRINGTYPE,
			TITLE		: INT8UTYPE,
			COMMENT		: INT8UTYPE,
			AUTOR		: INT8UTYPE,
			SUBJECT		: INT8UTYPE			
		}
		
		public static const BYTESPERTYPE: Object = {
			1	: 2,
			2	: 1			
		} 			
	}
}